package Vista;
import com.cloudgarden.layout.AnchorConstraint;
import com.cloudgarden.layout.AnchorLayout;
import java.awt.CardLayout;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.GridLayout;
import java.awt.Insets;
import javax.swing.BorderFactory;
import javax.swing.ComboBoxModel;
import javax.swing.DefaultComboBoxModel;
import javax.swing.JButton;
import javax.swing.JCheckBox;
import javax.swing.JComboBox;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JRadioButton;
import javax.swing.JTextField;

import javax.swing.WindowConstants;
import javax.swing.border.BevelBorder;
import javax.swing.SwingUtilities;

public class ViewBajaLinea extends javax.swing.JFrame {
	private JLabel jLNombrePlan;
	private JTextField jTNombrePlan;
	private JButton jBCancelar;
	private JButton jBguardar;
	public static ViewBajaLinea instancia;

	/**
	* Auto-generated main method to display this JFrame
	*/
	public static void main(String[] args) {
		SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				ViewBajaLinea inst = new ViewBajaLinea();
				inst.setLocationRelativeTo(null);
				inst.setVisible(true);
			}
		});
	}
	
	private ViewBajaLinea() {
		super();
		initGUI();
	}
	
	public static ViewBajaLinea getInstancia() 
	{
		if (instancia== null)
			instancia = new ViewBajaLinea();
		return instancia;
	}
		
	
	private void initGUI() {
		try {
			setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
			getContentPane().setLayout(null);
			this.setEnabled(false);
			this.setAlwaysOnTop(true);
			this.setResizable(false);
			this.setName("frmBajaLinea");
			this.setTitle("Baja de Linea");
			{
				jLNombrePlan = new JLabel();
				getContentPane().add(jLNombrePlan);
				jLNombrePlan.setText("Numero Linea:");
				jLNombrePlan.setBounds(12, 12, 97, 14);
				jLNombrePlan.setName("lblNumeroLinea");
			}
			{
				jTNombrePlan = new JTextField();
				getContentPane().add(jTNombrePlan);
				jTNombrePlan.setBounds(12, 25, 361, 21);
				jTNombrePlan.setName("txtNumeroLinea");
			}
			{
				jBguardar = new JButton();
				getContentPane().add(jBguardar);
				jBguardar.setText("BAJA");
				jBguardar.setBounds(166, 174, 102, 21);
				jBguardar.setName("btnBaja");
			}
			{
				jBCancelar = new JButton();
				getContentPane().add(jBCancelar);
				jBCancelar.setText("CANCELAR");
				jBCancelar.setBounds(268, 174, 102, 21);
				jBCancelar.setName("btnCancelar");
			}
			pack();
			this.setSize(390, 234);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}
